package com.ypx.dao;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ypx.model.Clockinnew;
import org.springframework.stereotype.Component;

import java.util.Date;
import java.util.List;


@Component("clockInNewDao")
public interface ClockinnewMapper extends BaseMapper<Clockinnew> {

    /**
     * 查询所有疫情打卡记录
     */
    List<Clockinnew> queryClockInAll(Clockinnew clockinnew);

    Date queryCountByOwnId(Integer ownId);

    int deleteByOwnerId(@Param("ownerId") Integer ownerId);
}
